package ystp.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import ystp.model.Xinyaoshenqingjieguo;
import ystp.model.XinyaoshenqingjieguoExample;

public interface XinyaoshenqingjieguoMapper {
    int countByExample(XinyaoshenqingjieguoExample example);

    int deleteByExample(XinyaoshenqingjieguoExample example);

    int deleteByPrimaryKey(String id);

    int insert(Xinyaoshenqingjieguo record);

    int insertSelective(Xinyaoshenqingjieguo record);

    List<Xinyaoshenqingjieguo> selectByExample(XinyaoshenqingjieguoExample example);

    Xinyaoshenqingjieguo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Xinyaoshenqingjieguo record, @Param("example") XinyaoshenqingjieguoExample example);

    int updateByExample(@Param("record") Xinyaoshenqingjieguo record, @Param("example") XinyaoshenqingjieguoExample example);

    int updateByPrimaryKeySelective(Xinyaoshenqingjieguo record);

    int updateByPrimaryKey(Xinyaoshenqingjieguo record);

    Object getXinyaoshenqingResultCount(@Param("xiangmuid") String mmxiangmuId,@Param("userid") String mmuserId,@Param("result") String mmresult);

    List<Map<String,Object>>getHuizongbiao(@Param("xiangmuid") String mmxiangmuId);
}